import plotly as py
from plotly import graph_objs as go

trance0=go.Scatter(
    x=[1,2,3,4],
    y=[10,15,13,17]
)

trance1=go.Scatter(
    x=[1,2,3,4],
    y=[16,15,17,12]
)


py.offline.plot(list([trance0,trance1]),filename='fisrt-plotly')